package com.ruoyi.integration.dto;

import lombok.Data;

@Data
public class UnifiedResponse<T> {

    private int code;
    private String message;
    private T data;

    public boolean isSuccess() {
        return this.code >= 200 && this.code < 300;
    }
}
